package com.sun.showcase.client.query.mall;

import com.sun.showcase.client.domain.mall.Member;
import com.sun.showcase.pojo.SearchModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class MemberQuery extends SearchModel<Member> implements Serializable {
    
  private static final long serialVersionUID = 3148176768559230877L;
    

	  /**
     * ID       db_column: id 
     */	
	private String id;
	  /**
     * openid       db_column: openid
     */
	private String openid;
	  /**
     * 头像       db_column: head_image
     */
	private String headImage;
	  /**
     * 昵称       db_column: nick_name
     */
	private String nickName;
	  /**
     * 手机号       db_column: phone
     */
	private String phone;
	  /**
     * 姓名       db_column: name
     */
	private String name;
	  /**
     * 身份证号       db_column: card_no
     */
	private String cardNo;
	  /**
     * 创建时间       db_column: create_date
     */
	private java.util.Date createDate;
	/**
	 * 封装修改时的where条件  key为数据库字段值  value为条件值
	 * */
	private Map<String,Object> searchMap = new HashMap<String,Object>();
	/**
	 * 数据表主键id的数组
	 * */
	private String ids[];

	private String password;

	private String fatherId;

	private Double balance;

	private Double frozenBalance;

	private String qrcode;

	private String agentFlag;

	public String getAgentFlag() {
		return agentFlag;
	}

	public void setAgentFlag(String agentFlag) {
		this.agentFlag = agentFlag;
	}

	public String getQrcode() {
		return qrcode;
	}

	public void setQrcode(String qrcode) {
		this.qrcode = qrcode;
	}

	public Double getBalance() {
		return balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}

	public Double getFrozenBalance() {
		return frozenBalance;
	}

	public void setFrozenBalance(Double frozenBalance) {
		this.frozenBalance = frozenBalance;
	}

	public String getFatherId() {
		return fatherId;
	}

	public void setFatherId(String fatherId) {
		this.fatherId = fatherId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String value) {
		this.id = value;
	}

	public String getOpenid() {
		return this.openid;
	}

	public void setOpenid(String value) {
		this.openid = value;
	}

	public String getHeadImage() {
		return this.headImage;
	}

	public void setHeadImage(String value) {
		this.headImage = value;
	}

	public String getNickName() {
		return this.nickName;
	}

	public void setNickName(String value) {
		this.nickName = value;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String value) {
		this.phone = value;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String value) {
		this.name = value;
	}

	public String getCardNo() {
		return this.cardNo;
	}

	public void setCardNo(String value) {
		this.cardNo = value;
	}

	public java.util.Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(java.util.Date value) {
		this.createDate = value;
	}

	public Map<String, Object> getSearchMap() {
		return searchMap;
	}

	public void setSearchMap(Map<String, Object> searchMap) {
		this.searchMap = searchMap;
	}

	public String[] getIds() {
		return ids;
	}

	public void setIds(String[] ids) {
		this.ids = ids;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.DEFAULT_STYLE);
	}
	
}

